﻿namespace Microsoft.VisualStudio.BaseCustomTool
{
    using System;

    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
    internal sealed class CustomToolRegistrationAttribute : Attribute
    {
        public CustomToolRegistrationAttribute(string name, string description, string vsVersion, string prjKind)
        {
            this.Name = name;
            this.Description = description;
            this.VsVersion = vsVersion;
            this.PrjKind = prjKind;
            this.GeneratesDesignTimeSource = false;
        }

        public string Name { get; private set; }
        public string Description { get; private set; }
        public string VsVersion { get; private set; }
        public string PrjKind { get; private set; }
        public bool GeneratesDesignTimeSource { get; set; }
    }
}
